
{% extends 'base.html' %}
{% block body %}
<div class="navbar_con">
    <div class="navbar clearfix">
        <div class="subnav_con fl">
            <h1>全部商品分类</h1>
            <span></span>
            <ul class="subnav">
                <li><a href="/list1_1_1/" class="fruit">新鲜水果</a></li>
                <li><a href="/list2_1_1/" class="seafood">海鲜水产</a></li>
                <li><a href="/list3_1_1/" class="meet">猪牛羊肉</a></li>
                <li><a href="/list4_1_1/" class="egg">禽类蛋品</a></li>
                <li><a href="/list5_1_1/" class="vegetables">新鲜蔬菜</a></li>
                <li><a href="/list6_1_1/" class="ice">速冻食品</a></li>
            </ul>
        </div>
        <ul class="navlist fl">
            <li><a href="">首页</a></li>
            <li class="interval">|</li>
            <li><a href="">手机生鲜</a></li>
            <li class="interval">|</li>
            <li><a href="">抽奖</a></li>
        </ul>
    </div>
</div>
{% if list == 1 %}
<div class="breadcrumb">
    <a href="/">全部分类</a>
    <span>></span>
    <a href="/list{{goodtype.id}}_1_1/">{{goodtype.ttitle}}</a>
    {% if isDetail %}
    <span>></span>
    <a href="">商品详情</a>
    {% endif %}
</div>
{% endif %}

{% block detail %}
{% endblock detail%}

<div class="main_wrap clearfix">
    <div class="l_wrap fl clearfix">
        <div class="new_goods">
            <h3>新品推荐</h3>
            <ul>
                {%for g in newgood%}
                <li>
                    <a href="/{{g.id}}"><img src="/static/{{g.gpic}}"></a>
                    <h4><a href="/{{g.id}}">{{g.gtitle}}</a></h4>
                    <div class="prize">￥{{g.gprice}}</div>
                </li>
                {%endfor%}
            </ul>
        </div>
    </div>
{% block list %}
{% endblock list %}
</div>
{% endblock body %}

{%block foot%}
<div class="footer">
		<div class="foot_link">
			<a href="#">关于我们</a>
			<span>|</span>
			<a href="#">联系我们</a>
			<span>|</span>
			<a href="#">招聘人才</a>
			<span>|</span>
			<a href="#">友情链接</a>
		</div>
		<p>CopyRight © 2016 北京天天生鲜信息技术有限公司 All Rights Reserved</p>
		<p>电话：010-****888    京ICP备*******8号</p>
	</div>
{#	<script type="text/javascript" src="js/slideshow.js"></script>#}
{#	<script type="text/javascript">#}
{#		BCSlideshow('focuspic');#}
{#		var oFruit = document.getElementById('fruit_more');#}
{#		var oShownum = document.getElementById('show_count');#}
{##}
{#		var hasorder = localStorage.getItem('order_finish');#}
{##}
{#		if(hasorder)#}
{#		{#}
{#			oShownum.innerHTML = '2';#}
{#		}#}
{##}
{#		oFruit.onclick = function(){#}
{#			window.location.href = 'list.html';#}
{#		}#}
{#	</script>#}
</body>
</html>
{%endblock foot%}